package com.jf3q.common.constant;

public interface SysConstant {

    String UPLOADPATH="D:/";
    String UPLOADTEACHERAVATAR="/teacher/avatar";
    Integer servicePageSize=6;//后台默认分页尺寸
    Integer ILLEGAL_TOKEN=50008;//非法的token
    Integer EXCHANGE_TOKEN=50012;//其他客户端登录了
    Integer CANCEL_TOKEN=50014;//Token 过期了;

    //消息投递中
    Integer DELIVERING = 0;

    //消息投递成功
    Integer SUCCESS = 1;

    //消息投递失败
    Integer FAILURE = 2;

    //最大重试次数
    Integer MAX_TRY_COUNT = 3;

    //消息超时时间
    Integer MSG_TIMEOUT = 1;

    //队列
    String MAIL_QUEUE_NAME = "mail.queue";//禁用邮件的消息队列

    //交换机
    String MAIL_EXCHANGE_NAME = "mail.exchange";

    //路由键
    String MAIL_ROUTING_KEY_NAME = "mail.routing.key";

}
